package com.ruoyi.develop.goodsInvoiceApplyDetail.domain;

import java.math.BigDecimal;

import com.ruoyi.develop.goodsInvoice.domain.GoodsInvoice;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 发票申请明细对象 goods_invoice_apply_detail
 *
 * @author qh
 * @date 2025-04-26
 */
public class GoodsInvoiceApplyDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 申请id
     */
    @Excel(name = "申请id")
    private String applyId;

    /**
     * 发票金额
     */
    @Excel(name = "发票金额")
    private BigDecimal amount;

    /**
     * 项目ID
     */
    @Excel(name = "项目ID")
    private String projectId;

    /**
     * 项目编号
     */
    @Excel(name = "项目编号")
    private String projectNo;

    private GoodsInvoice apply;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    public GoodsInvoice getApply() {
        return apply;
    }

    public void setApply(GoodsInvoice apply) {
        this.apply = apply;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId;
    }

    public String getApplyId() {
        return applyId;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectNo(String projectNo) {
        this.projectNo = projectNo;
    }

    public String getProjectNo() {
        return projectNo;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("applyId", getApplyId())
                .append("amount", getAmount())
                .append("projectId", getProjectId())
                .append("projectNo", getProjectNo())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
